/* 精选商品 轮播图 */
.section {
  display: flex;
  flex-direction: column;
  padding: 20px 0 0 0;
}

.section-title {
  margin: 10px 0;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-container {
  /* width: 70%; */
  width: 750rpx;
  height: 700rpx;

  /* border: 1px solid red; */
  .swiper-item {
    height: 630rpx;
    display: flex;
    align-items: center;

    .item-box {
      width: 430rpx;
      height: 630rpx;
      margin: 0 auto;
      border-radius: 20rpx;
      transition: all 0.3s;
      position: relative;
      background-color: rgb(245, 245, 245);
      overflow: hidden;
      transform: scale(0.75);

      .buy-box {
        position: absolute;
        top: 25rpx;
        right: 25rpx;
        z-index: 10;

        .icon {
          width: 45rpx;
          height: 45rpx;
        }
      }

      .thumb {
        width: 100%;
        height: 85%;

        .pic {
          width: 100%;
          height: 100%;
        }
      }

      .title-box {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        line-height: 1;
        padding: 0 0 15rpx 0;

        .tit {
          display: block;
          line-height: 1.75;
          font-size: 30rpx;
          font-weight: 600;
        }

        .price {
          display: block;
          font-size: 28rpx !important;
          font-family: "DIN Alternate Bold", sans-serif;
          font-weight: 600;
          color: #ff4d4f;
        }

        .price::before {
          content: "¥";
          font-size: 0.8em;
        }
      }
    }
  }

  .swiper-item-active .item-box {
    transform: scale(1);
  }
}